
package edu.tongji.jiaowu.dao;

import com.tongji.quickCRUDQ.model.CommonBean;
import com.tongji.quickCRUDQ.dao.BaseDao;

public interface ExternalExamTypeDao extends BaseDao {
	
	public CommonBean createExternalExamType();
	
/*
	public CommonBean findExternalExamTypes(String refid) ;
*/
  public CommonBean findExternalExamTypeById(String id);
	public CommonBean findAllExternalExamTypes() ;
	public void insertExternalExamType(CommonBean externalExamTypeBean);
	public void updateExternalExamType(CommonBean externalExamTypeBean);

	public CommonBean findExternalExamTypeByCode(String currentYear, String currentSemester, String currentType);

	public void remove(CommonBean externalExamTypeBean);

	public CommonBean findEntryTypes(String currentYear, String currentSemester);

	public void closeAllTypes(String year, String semester);
}

